#pragma once

#include "rttIODevice.h"

namespace NXMFC
{

class rttADC: public NXMFC::rttIODevice
{
public:
    rttADC();
    ~rttADC();

    bool open(const char *dev);
    float voltage(float factor = 1);

private:
    float vref;
    float sampmax;
};

}
